import request from '@/sheep/request';

export default {
  // 检查SN状态
  checkisbn: (params) =>
    request({
      url: 'isbn.index/index',
      method: 'GET',
      params,
      custom: {
        showLoading: false,
        showError: false,
      },
    }),

	//获取sn对应的分类和对应增值包名称
	get_zengzhibao:(params) =>
	request({
		url:'isbn.index/get_zengzhibaocon',
		method: 'GET',
		params:{
			sn:params
		},
		custom:{
			showLoading: false,
			showError: false,
		},
	}),
	save_zengzhibao:(params) =>
	request({
		url:'isbn.index/save_zengzhibaocon',
		method: 'GET',
		params,
		custom:{
			showLoading: false,
			showError: false,
		},
	}),
	get_my_zengzhibaocon:(params) =>
	request({
		url:'isbn.index/get_my_zengzhibaocon',
		method: 'GET',
		params,
		custom:{
			showLoading: false,
			showError: false,
		},
	}),
	getZengzhibaoList:(params) =>
	request({
		url:'isbn.index/getZengzhibaoList',
		method: 'GET',
		params,
		custom:{
			showLoading: false,
			showError: false,
		},
	}),
	checklogin:(params) =>
	request({
		url:'isbn.index/checklogin',
		method: 'GET',
		params,
		custom:{
			showLoading: false,
			showError: false,
		},
	}),
	goodsziliao:(params)=>
		request({
			url:'isbn.index/downloadziliao',
			method: 'GET',
			params,
			custom:{
				showLoading: false,
				showError: false,
			},
		}),

  
};
